import Layout from "@/Layout";

export const AsyncRouterMap = [
  {
    component: Layout,
    path: "/",
    name: "basic",

    children: [
      // {
      //   path: "/home",
      //   name: "Home",
      //   component: () => import("@/views/home/index.vue"),
      //   meta: {
      //     title: "首页",
      //     icon: "icon"
      //   },
      //   children: []
      // }
    ]
  }
];

export const basicRouter = [
  {
    path: "/login",
    name: "Login",
    component: () => import("@/views/login/index.vue"),
    meta: {
      title: "登录",
      icon: "icon"
    }
  }
];
export const errRouter = [
  {
    path: "/403",
    name: "is403",
    component: () => import("@/views/err/403.vue"),
    meta: {
      title: "403",
      icon: "icon"
    }
  },
  {
    path: "*",
    name: "is404",
    component: () => import("@/views/err/404.vue"),
    meta: {
      title: "404",
      icon: "icon"
    }
  }
];
